package android.tusnotas.parser.push;

import org.htmlcleaner.XPatherException;

import android.tusnotas.beans.ListaNotificaciones;
import android.tusnotas.exception.ProcessingInstancesException;

import com.thoughtworks.xstream.XStream;

public class PushNotificationParser {
	public ListaNotificaciones parseXML(String XML) throws ProcessingInstancesException, XPatherException{
		XStream stream = new PushNotificationXStream();
		ListaNotificaciones list = ((ListaNotificaciones) stream.fromXML(XML));
		return list;
	}

}
